package com.lexed.demo;

/*
 * 3. 给Student类添加⽆参数构造⽅法和有参数构造⽅法
 */
public class Test3 {

	public static void main(String[] args) {
		 Student stu1 = new Student();
				 stu1.setSid(1);
				 stu1.setName("张三");
				 stu1.setChinese(100);
				 stu1.setEnglish(100);
				 stu1.setMath(90);
				 stu1.print();
				 Student stu2 = new Student(2,"李四",90,90,90);
				 stu2.print();

	}

}
